<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="author" content="23ps" />
    <meta name="copyright" content="www.23ps.com" />
    <meta name="keywords" content="PS,Photoshop,图片,教程" />
    <meta name="description" content="图片处理教程网是一个专业为用户提供PS教程、PS资源、PS素材、PS工具、PS交流的网站。同时也是聚集所有喜爱PS的爱好者，共同交流经验、共同进步的场所。当越来越多的PS学习者开始利用网络求学的时候，图片处理教程网关注于向学习者更贴心的服务，让他们能够借助网络享受到高品质和高乐趣及高自由的求知场所，以更适合自己的方式学习，我们将提供一个专业的PS学习平台。" />
    <title>图片处理教程网_PS教程、PS视频教程、非主流PS教程，Photoshop软件使用技巧学习交流</title>
    <link href="{dede:global.cfg_templets_skin/}/style/style.css" rel="stylesheet" type="text/css" />
    <link href="/rssfeed.xml" rel="alternate" type="application/rss+xml" title="图片处理教程网 RSS Feed" />
    <link href="/opensearch.xml" rel="search" type="application/opensearchdescription+xml" title="图片处理教程网" />
    <script src="{dede:global.cfg_templets_skin/}/js/jquery.js" type="text/javascript"></script>
</head>
<body class="homepage">

{dede:include filename="head.htm"/}
    
    <!-- content -->
    <script language="javascript" type="text/javascript">
	function CheckLogin(){
	  var taget_obj = document.getElementById('_userlogin');
	  myajax = new DedeAjax(taget_obj,false,false,'','','');
	  myajax.SendGet2("{dede:global.cfg_cmspath/}/member/ajax_loginsta.php");
	  DedeXHTTP = null;
	}
	</script>
    <div class="content clearfix">
        <div class="left-sidebar">
            <div class="mod-box mod-login">
                <div class="mod-box-head">
                    <h4 class="title">登陆网站</h4>
                </div>
                <!-- /uc_comment -->
                <div id="_userlogin" class="mod-box-body">       
                    <div class="userlogin">
                        <form name="userlogin" action="{dede:global.cfg_memberurl/}/index_do.php" method="POST">
                        <input type="hidden" name="fmdo" value="login" />
                        <input type="hidden" name="dopost" value="login" />
                        <input type="hidden" name="keeptime" value="604800" />
                        
                        <p class="form-item"><label for="userid">用户名：</label>
                            <input type="text" name="userid" class="text" />
                        </p>
                        <p class="form-item"><label for="pwd">密  码：</label>
                            <input type="password" name="pwd" class="text" />
                        </p>                              
                        {dede:php}
                        if(preg_match("/2/",$safe_gdopen)){
                        echo '<p class="form-item"><label for="vdcode">验证码：</label>
                            <input type="text" name="vdcode"  class="code" />
                            <img id="vdimgck" align="absmiddle" onClick="this.src=this.src+\'?\'" style="cursor:pointer;margin-left:0px;text-transform:uppercase;" alt="看不清？点击更换" src="'.$cfg_cmspath.'/include/vdimgck.php"/></p>';
                         }
                        {/dede:php}
                        <p class="form-submit"><input type="submit" class="submit" value="" /><a href="{dede:global.cfg_memberurl/}/resetpassword.php">忘记密码?</a></p>
                        </form>
                    </div>
                </div>
                <!-- /userlogin -->
				<script language="javascript" type="text/javascript">CheckLogin();</script>
                <div class="mod-box-foot">
                </div>
            </div>
            <!-- Login:END -->
            <div class="mod-box mod-category">
                <div class="mod-box-head">
                    <h4 class="title">教程分类</h4>
                </div>
                <div class="mod-box-body">
                    <ul class="clearfix">
                    {dede:sql sql='select typename,sitepath from ps_arctype where ishidden=1 order by sortrank'}
						<li><a href='[field:sitepath/]/'>[field:typename/]</a></li>
					{/dede:sql}
                    </ul>
                </div>
                <div class="mod-box-foot">
                </div>
            </div>
            <!-- Category:END -->
            <div class="ad-180x60">
                <a href="http://www.51ps.com/" target="_blank"><img src="{dede:global.cfg_templets_skin/}/img/ad-180x60.jpg" /></a>
            </div>
            <!-- ad-180x60:END -->
            <div class="mod-box mod-links">
                <div class="mod-box-head">
                    <h4 class="title">友情链接</h4>
                </div>
                <div class="mod-box-body">
                    <ul class="clearfix">
                        {dede:flink row='24'/}
                    </ul>
                </div>
                <div class="mod-box-foot">
                    <a href="/plus/flink_add.php">申请加入</a>
                </div>
            </div>
            <!-- Links:END -->
        </div>
        <div class="main-col">
            <div class="featured">
                <div class="featured-list" id="featured">
                    <div class="featured-list-box">
                    	{dede:arclist flag='h,p' row='8' orderby='pubdate' titlelen='1000'}
                        <div class="featured-post">
                            <p class="post-image"><a class="thumb" href="[field:arcurl/]"><img src="[field:litpic/]" onerror="this.src='/images/default.jpg'" width='118px' height='86px' /></a></p>
                            <h2 class="post-title"><a href="[field:arcurl/]">[field:title/]</a></h2>
                            <p class="post-info">
                                <span>作者：
                                [field:mid runphp='yes']
                                	$dsql = new dedesql();
                                	$mid = intval(@me);
                                	if($mid == 0) {
                                		$mid = 1;
                                	}
                                	$user = $dsql->getOne("select mid,userid,uname from ps_member where mid=".$mid);
                                	if(empty($user['userid'])){
                                		$username = $user['userid'] = 'admin';
                                	}else if(!empty($user['userid'])){
                                		$username = $user['userid'];
                                	}else{
                                		$username = $user['userid'];
                                	}
                                	@me = "<a href='/member/index.php?uid=".$user['userid']."'>".$username."</a>";
                                [/field:mid]
                                </span><br/>
                                <span>类别：
                                [field:typeid2 runphp='yes']
					                 $dsql= new dedesql();
					                 $ks = split(',', @me);
					                 $type2name="";
					                 foreach($ks as $k){
					                     $k = trim($k);  
					                     if ($k!="") {
					                          if ($row = $dsql->getOne("select *,ID as id1 from ps_arctype where id=".$k)){
					                                 $type_path=GetTypeUrl($row['id1'],MfTypedir($row['typedir']),$row['isdefault'],$row['defaultname'],$row['ispart'],$row['namerule2'],$row['siteurl']);
					                                  $type2name="<a href='".$type_path."'  target=_blank>".$row['typename']."</a> ";  
					                          }          
					                     }    
					                 }
					                @me=substr($type2name,0,strlen($type2name)-1);
					            [/field:typeid2]
					            </span><br/>
                                <span>时间：[field:pubdate function="MyDate('m-d',@me)"/]</span>
                            </p>
                        </div>
                        {/dede:arclist}
             
                    </div>
                </div>
            </div>
            <!-- Featured:END -->
            <div id="mod-tab" class="mod-tab mod-home-new-post">
                <h2 class="title">最新更新</h2>
                <ul class="mod-tab-menu">
                    <li><a href="/photoshop/cjjc/">初级教程</a></li>
                    <li><a href="/photoshop/tgjc/">提高教程</a></li>
                    <li><a href="/photoshop/gsjj/">高手进阶</a></li>
                </ul>
                <div class="mod-tab-col">
                {dede:arclist row='10' typeid='1' orderby='id' titlelen='1000' infolen='1000'}
                
              		[field:global runphp='yes' name=autoindex]
                  	if (@me == 6) {
                  		@me = '<div class="post-in-ad clearfix"></div>';
                  	}else{
                  	    @me = '';
                  	}
                    [/field:global]
                    
                    <div class="post clearfix">
                    	
                        
                        <span class="post-image"><a class="thumb" href="[field:arcurl/]"><img src="[field:litpic/]" onerror="this.src='/images/default.jpg'" /></a></span>
                        <h3 class="post-title"><span>[field:textlink/]</span>
                        		[field:mid runphp='yes']
                                	$dsql = new dedesql();
                                	$mid = intval(@me);
                                	if($mid == 0) {
                                		$mid = 1;
                                	}
                                	$user = $dsql->getOne("select mid,userid,uname from ps_member where mid=".$mid);
                                	if(empty($user['userid'])){
                                		$username = $user['userid'] = 'admin';
                                	}else if(!empty($user['userid'])){
                                		$username = $user['userid'];
                                	}else{
                                		$username = $user['userid'];
                                	}
                                	@me = "<a href='/member/index.php?uid=".$user['userid']."'>[".$username."]</a>";
                                [/field:mid]</h3>
                        <p class="text">[field:info/]</p>
                    </div>
                {/dede:arclist}
                    
                    <div class="more-posts"><a href="/photoshop/cjjc/">查看更多“初级教程”的文章</a></div>
                </div>
                <!-- tab 1:END -->
                <div class="mod-tab-col">
                    {dede:arclist row='10' typeid='2' orderby='id' titlelen='1000' infolen='1000'}
                
              		[field:global runphp='yes' name=autoindex]
                  	if (@me == 6) {
                  		@me = '<div class="post-in-ad clearfix"></div>';
                  	}else{
                  	    @me = '';
                  	}
                    [/field:global]
                    
                    <div class="post clearfix">
                    	
                        
                        <span class="post-image"><a class="thumb" href="[field:arcurl/]"><img src="[field:litpic/]" onerror="this.src='/images/default.jpg'" /></a></span>
                        <h3 class="post-title"><span>[field:textlink/]</span>
                        		[field:mid runphp='yes']
                                	$dsql = new dedesql();
                                	$mid = intval(@me);
                                	if($mid == 0) {
                                		$mid = 1;
                                	}
                                	$user = $dsql->getOne("select mid,userid,uname from ps_member where mid=".$mid);
                                	if(empty($user['userid'])){
                                		$username = $user['userid'] = 'admin';
                                	}else if(!empty($user['userid'])){
                                		$username = $user['userid'];
                                	}else{
                                		$username = $user['userid'];
                                	}
                                	@me = "<a href='/member/index.php?uid=".$user['userid']."'>[".$username."]</a>";
                                [/field:mid]</h3>
                        <p class="text">[field:info/]</p>
                    </div>
                {/dede:arclist}
                    <div class="more-posts"><a href="/photoshop/tgjc/">查看更多“提高教程”的文章</a></div>
                </div>
                <!-- tab 2:END -->
                <div class="mod-tab-col">
                    {dede:arclist row='10' typeid='3' orderby='id' titlelen='1000' infolen='10000'}
                
              		[field:global runphp='yes' name=autoindex]
                  	if (@me == 6) {

                  		@me = '<div class="post-in-ad clearfix"></div>';
                  	}else{
                  	    @me = '';
                  	}
                    [/field:global]
                    
                    <div class="post clearfix">
                    	
                        
                        <span class="post-image"><a class="thumb" href="[field:arcurl/]"><img src="[field:litpic/]" onerror="this.src='/images/default.jpg'" /></a></span>
                        <h3 class="post-title"><span>[field:textlink/]</span>
                        		[field:mid runphp='yes']
                                	$dsql = new dedesql();
                                	$mid = intval(@me);
                                	if($mid == 0) {
                                		$mid = 1;
                                	}
                                	$user = $dsql->getOne("select mid,userid,uname from ps_member where mid=".$mid);
                                	if(empty($user['userid'])){
                                		$username = $user['userid'] = 'admin';
                                	}else if(!empty($user['userid'])){
                                		$username = $user['userid'];
                                	}else{
                                		$username = $user['userid'];
                                	}
                                	@me = "<a href='/member/index.php?uid=".$user['userid']."'>[".$username."]</a>";
                                [/field:mid]</h3>
                        <p class="text">[field:info/]</p>
                    </div>
                {/dede:arclist}
                    <div class="more-posts"><a href="/photoshop/gsjj/">查看更多“高手进阶”的文章</a></div>
                </div>
                <!-- tab 3:END -->
                <div class="home-post-ad-box">
                    {dede:myad name='AD-200x200x2'/}
                </div>
            </div>
            <!-- HomeNewPosts:END -->
        </div>
        <div class="right-sidebar">
            <div class="ad-300x250">
                {dede:myad name='AD-300x250x1'/}
            </div>
            <!-- ad-300x250:END -->
            <div class="mod-box mod-teacher">
                <div class="mod-box-head">
                    <h4 class="title">本周推荐PS老师 </h4>
                </div>
                <div class="mod-box-body clearfix">
                {dede:sql sql="select * from ps_member where matt=1 order by uptime desc limit 1"}
                    <span><a href="/member/index.php?uid=[field:userid/]" class="thumb"><img src="[field:face/]" onerror="this.src='/member/templets/images/dfgirl.png'" width="70px" height="50px"></a></span>
                    <div class="name">
                        <strong><a href="/member/index.php?uid=[field:userid/]">[field:userid/]</a></strong><br/>
                        性别：[field:sex/]<br/>
                        等级：[field:rank runphp='yes']
                        		switch(@me){
                        			case '10':
                        				@me = '注册会员';
                        			break;
                        			case '50':
                        				@me = '中级会员';
                        			break;
                        			case '100';
                        				@me = '高级会员';
                        			break;
                        		}
                        
                        
                        	[/field:rank]<br/>
                    </div>
                    <div class="info">
                        用户积分：[field:scores runphp='yes']@me=intval(@me);[/field:scores] 分<br/>
                        发布教程数：<a href="/member/index.php?uid=[field:userid/]&action=archives">
                        [field:mid runphp='yes']
                        $dsql = new dedesql();
                        $mid = @me;
                        $sql = "select count(mid) as t from ps_archives where mid = $mid";
                        $count = $dsql->getOne($sql);
                        @me = $count['t'];
                        [/field:mid]
                        </a><br/>
                    </div>
                    <a href="/member/index.php?uid=[field:userid/]" class="more">进入空间</a>
                {/dede:sql}
                </div>
                <div class="mod-box-foot">
                </div>
            </div>
            <!-- Teacher:END -->
            <div class="mod-box mod-ranking">
                <div class="mod-box-head">
                    <h4 class="title">投稿排行榜</h4>
                </div>
                <div class="mod-box-body clearfix">
                    <ol id="rankingList">
                    {dede:sql sql="select *,count(mid) as t from ps_archives where mid > 1 group by mid order by t desc limit 10"}
	                    [field:global runphp='yes' name=autoindex]
	                  	if (@me == 1) {
	                  		@me = '<li class="show">';
	                  	}else{
	                  	    @me = '<li>';
	                  	}
	                    [/field:global]

                        [field:mid runphp='yes']
                                	$dsql = new dedesql();
                                	$mid = intval(@me);
                                	if($mid == 0) {
                                		$mid = 1;
                                	}
                                	$user = $dsql->getOne("select mid,userid,face,uname from ps_member where mid=".$mid);
                                	if(empty($user['userid'])){
                                		$user['userid'] = 'admin';
                                	}
                                	if(empty($user['face'])){
                                		$user['face'] = "/member/templets/images/dfgirl.png";
                                	}
                                	@me = "<a href='/member/index.php?uid=".$user['userid']."' class='thumb'><img src='".$user['face']."' onerror=\"this.src='/member/templets/images/dfgirl.png'\" width='50px' height='35px'></a>";
                                [/field:mid]
                        <span>[field:t/]篇</span>[field:mid runphp='yes']
                                	$dsql = new dedesql();
                                	$mid = intval(@me);
                                	if($mid == 0) {
                                		$mid = 1;
                                	}
                                	$user = $dsql->getOne("select mid,userid,uname from ps_member where mid=".$mid);
                                	if(empty($user['userid'])){
                                		$username = $user['userid'] = 'admin';
                                	}else if(!empty($user['userid'])){
                                		$username = $user['userid'];
                                	}else{
                                		$username = $user['userid'];
                                	}
                                	@me = "<a href='/member/index.php?uid=".$user['userid']."'>";
                                [/field:mid][field:global name=autoindex/]： [field:mid runphp='yes']
                                	$dsql = new dedesql();
                                	$mid = intval(@me);
                                	if($mid == 0) {
                                		$mid = 1;
                                	}
                                	$user = $dsql->getOne("select mid,userid,uname from ps_member where mid=".$mid);
                                	if(empty($user['userid'])){
                                		$username = $user['userid'] = 'admin';
                                	}else if(!empty($user['userid'])){
                                		$username = $user['userid'];
                                	}else{
                                		$username = $user['userid'];
                                	}
                                	@me = $username."</a>";
                                [/field:mid]</a>              
                        </li>
                    {/dede:sql}
                        
                    </ol>
                </div>
                <div class="mod-box-foot">
                    <a href="/member/article_add.php">我要投稿</a>
                </div>
            </div>
            <!-- Ranking:END -->
            <div class="download"><a href="/download.htm"><img src="/templets/23ps/img/download.png" /></a></div>
        </div>
    </div>
    <!-- content end -->
    
    <!-- footer end -->
    {dede:include filename="footer.htm"/}

</body>
</html>